(function () {
    let updates_lives_data = [
        {
            avatar: './public/living_avatar1.webp',
            name: '央视农业',
            title: '青春理想绽放季，最炫农科等你来',
            cover: './public/head_bar_right_pop_updates_item_cover1.webp'
        }, {
            avatar: './public/living_avatar2.webp',
            name: '王者赛事战报',
            title: 'bilibili主播的直播间',
            cover: './public/living_cover2.webp'
        }, {
            avatar: './public/head_bar_right_pop_updates_item_avatar_yuanshen.webp',
            name: '原神',
            title: '原神4.0前瞻直播',
            cover: './public/head_bar_right_pop_updates_item_cover_yuanshen.webp'
        }, {
            avatar: './public/head_bar_right_pop_updates_item_avatar_yuanshen.webp',
            name: '崩坏星穹铁道',
            title: '原神5.0前瞻直播',
            cover: './public/head_bar_right_pop_updates_item_cover_yuanshen.webp'
        }
    ]

    let html = template('tpl', { updates_lives_data });
    let updates_lives = document.querySelector('.head_bar_right_pop_updates_lives');
    updates_lives.innerHTML = html + updates_lives.innerHTML
})()